list1 = [1, 2, 3, 4, 5]
tuple1 = (1, 2, 3, 4, 5)
set1 = {1, 2, 3, 4, 5}
dict1 = {"name": "tom", "age": 20, "gender": "男"}
str1 = "hello"
list2 = ["hello", "world", "python"]

print(max(list1))
print(min(list1))

print(max(tuple1))
print(min(tuple1))

print(max(set1))
print(min(set1))

print("=" * 50)
print("字典")
print(max(dict1)) # 字典中比较的是key 
print(min(dict1)) # 字典中比较的是key 

print("=" * 50)
print("字符串")
print(max(str1))
print(min(str1))

print("=" * 50)
print("列表")

